package com.jmemoir;

import com.jmemoir.safe.paramsencrypt.filter.ParamsEncryptFilter;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * Spring Boot 安全防护：Spring Boot 实现请求、响应参数加密
 * 文档地址：https://www.yuque.com/tellsea/jmemoir/zvrf9gnl68febygg
 *
 * @author Tellsea
 * @date 2023/8/6
 */
@SpringBootApplication
public class SafeParamsEncryptApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(SafeParamsEncryptApplication.class, args);
        ParamsEncryptFilter paramsEncryptFilter = context.getBean(ParamsEncryptFilter.class);
        System.out.println(paramsEncryptFilter);
    }
}
